public class EmployeeAccountUpdate{
    public static void updateAccount(Employee__c[] objEmployee){
        
        Account []account = [ select Value__c from Account where id=: objEmployee[0].Account__c];
        account[0].Value__c = account[0].Value__c+1;
        update(account[0]);
    }
}